@import "../../../assets/scss/pxVw";

$designWidth: 1920;
span {
  font-family: Arial;
}

.divFlex {
  display: flex;
  -webkit-display: flex;
  flex-direction: row;
  -webkit-flex-direction: row;
}

.adventures {
  background: rgb(27, 16, 33);
  .adventuresBox {
    background: url("../../../assets/images/theColor/adventures/Group18.jpg");
    height: 1050px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1600px auto;
  }
  .betRecordHis {
    width: 80%;
    margin-top: -20px;
    padding-bottom: 40px;
  }
}

.adventuresTop {
  position: relative;
  background: url("../../../assets/images/theColor/adventures/topBack.png") top left repeat-x;
  background-size: auto 115px;
  .adventuresMain {
    height: 115px;
    width: 85%;
    max-width: 1136px;
    background: url("../../../assets/images/theColor/adventures/topHeaderLine.png") top center no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
  }
}

.adventParse {
  width: 80%;
  margin: 0 auto;
  display: flex;
  -webkit-display: flex;
}

.adventLotLogin {
  display: inline-block;
  height: 115px;
  text-align: center;
  img {
    width: auto;
    height: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 15px 0;
  }
}

.adventTime, .adventDate, .adventList {
  text-align: center;
  padding: 10px 15px;
  font-size: 16px;
  color: #FFFFFF;
}

.adventDate {
  //width: 260px;
  flex: 1;
  padding: 10px 5%;
  section {
    &:first-child {
      padding-bottom: 5px;
      span {
        color: #DB070A;
      }
    }
    &:nth-child(2) {
      text-align: center;
      .adventDraw {
        width: 140px;
        height: 75px;
        background: url("../../../assets/images/theColor/adventures/kjBack.png") top center no-repeat;
        background-size: 100% auto;
        display: inline-block;
        //padding: 13px 0;
        .adventP {
          width: 70px;
          height: 55px;
          line-height: 55px;
          text-align: center;
          font-size: 30px;
          color: #FFFFFF;
          float: right;
        }
        &.red {
          background: url("../../../assets/images/theColor/adventures/kjBack.png") top center no-repeat;
          background-size: 100% auto;
        }
        &.black {
          background: url("../../../assets/images/theColor/adventures/kj_b.png") top center no-repeat;
          background-size: 100% auto;
        }
      }
    }
  }
}

.adventList {
  display: inline-block;
  section {
    &:first-child {
      span {
        color: #DB070A;
      }
    }
    &:nth-child(2) {
      padding-top: 10px;
      p {
        width: 50px;
        height: 50px;
        background-image: linear-gradient(top, #DE3048 7%, #97000F 100%);
        background-image: -webkit-linear-gradient(top, #DE3048 7%, #97000F 100%);
        text-align: center;
        line-height: 50px;
        font-size: 30px;
        color: #FFFFFF;
        display: inline-block;
        margin: 0 3px;
        border: 1px solid #D7C183;
        &.black {
          background: #000;
        }
      }
    }
  }
}

/*赌桌*/
.adventGamble {
  width: 1050px;
  height: 370px;
  margin: 0 auto;
  margin-top: 170px;
  //border: 1px solid #fff;
  overflow: visible;
  position: relative;
  top: 0;
  left: 0;
}

.adventGambleLeft {
  width: 320px;
  margin: 30px 0;
  display: inline-block;
  overflow: visible;
  text-align: center;
  img {
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: -36px;
  }
  .rulesBox {
    display: inline-block;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0.00) 29%, rgba(0, 0, 0, 0.00) 100%);
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0.35) 39%, rgba(0, 0, 0, 0.30) 100%);
    border: 1px solid rgba(0, 0, 0, 0.33);
    box-shadow: 0 -3px 5px 0 rgba(255, 255, 255, 0.10), inset 0 4px 3px 0 rgba(0, 0, 0, 0.44);
    border-radius: 2px;
    font-size: 12px;
    color: #ECB866;
    padding: 0 14px;
    height: 28px;
    line-height: 28px;
    text-decoration: underline;
    margin-top: -5px;
  }
}

.countTimed {
  width: 243px;
  height: 135px;
  position: absolute;
  top: -130px;
  left: 20px;
  background: url("../../../assets/images/theColor/adventures/countTime.png") top center no-repeat;
  background-size: 100% auto;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  line-height: 36px;
  .count {
    font-size: 42px;
    color: #834400;
    padding-top: 6px;
    span {
      font-family: 'HansHandItalic';
    }
  }
}

.adventGambleRight {
  flex: 1;
  //border: 1px solid red;
  margin-left: 10px;
}

.adventNumberT {
  width: 663px;
  height: 210px;
  position: absolute;
  float: left;
  //background: #000;
  ul {
    height: 210px;
    position: relative;
    li {
      //border: 1px solid #DDC09C;
      position: absolute;
      top: 0;
      left: 0;
      width: 52px;
      height: 70px;
      text-align: center;
      padding: 12px 0;
      &:first-child {
        width: 52px;
        height: 210px;
        border-top-left-radius: 15px;
        //border-bottom-left-radius: 15px;
        font-size: 28px;
        color: #EFEFEF;
        line-height: 210px;
        padding: 0;
        border: 1px solid #DDC09C;
        span {
          background: none;
        }
        .chipDiv {
          width: 35px;
          position: absolute;
          bottom: 3px;
          right: 0;
        }
      }
      &:nth-child(2), &:nth-child(5), &:nth-child(8), &:nth-child(11), &:nth-child(14), &:nth-child(17), &:nth-child(20), &:nth-child(23), &:nth-child(26), &:nth-child(29), &:nth-child(32), &:nth-child(35) {
        border: 1px solid #DDC09C;
        border-left: none;
      }
      &:nth-child(3), &:nth-child(6), &:nth-child(9), &:nth-child(12), &:nth-child(15), &:nth-child(18), &:nth-child(21), &:nth-child(24), &:nth-child(27), &:nth-child(30), &:nth-child(33), &:nth-child(36) {
        border: 1px solid #DDC09C;
        border-left: none;
        border-bottom: none;
      }
      &:nth-child(4), &:nth-child(7), &:nth-child(10), &:nth-child(13), &:nth-child(16), &:nth-child(19), &:nth-child(22), &:nth-child(25), &:nth-child(28), &:nth-child(29), &:nth-child(34), &:nth-child(37) {
        border: 1px solid #DDC09C;
        border-left: none;
        border-bottom: none;
      }
      &:nth-child(2) {
        top: auto;
        bottom: 0;
        left: 51px;
      }
      &:nth-child(3) {
        top: auto;
        bottom: 70px;
        left: 51px;
      }
      &:nth-child(4) {
        top: auto;
        bottom: 140px;
        left: 51px;
      }

      &:nth-child(5) {
        top: auto;
        bottom: 0;
        left: 102px;
      }
      &:nth-child(6) {
        top: auto;
        bottom: 70px;
        left: 102px;
      }
      &:nth-child(7) {
        top: auto;
        bottom: 140px;
        left: 102px;
      }

      &:nth-child(8) {
        top: auto;
        bottom: 0;
        left: 153px;
      }
      &:nth-child(9) {
        top: auto;
        bottom: 70px;
        left: 153px;
      }
      &:nth-child(10) {
        top: auto;
        bottom: 140px;
        left: 153px;
      }

      &:nth-child(11) {
        top: auto;
        bottom: 0;
        left: 204px;
      }
      &:nth-child(12) {
        top: auto;
        bottom: 70px;
        left: 204px;
      }
      &:nth-child(13) {
        top: auto;
        bottom: 140px;
        left: 204px;
      }

      &:nth-child(14) {
        top: auto;
        bottom: 0;
        left: 254px;
      }
      &:nth-child(15) {
        top: auto;
        bottom: 70px;
        left: 254px;
      }
      &:nth-child(16) {
        top: auto;
        bottom: 140px;
        left: 254px;
      }

      &:nth-child(17) {
        top: auto;
        bottom: 0;
        left: 305px;
      }
      &:nth-child(18) {
        top: auto;
        bottom: 70px;
        left: 305px;
      }
      &:nth-child(19) {
        top: auto;
        bottom: 140px;
        left: 305px;
      }

      &:nth-child(20) {
        top: auto;
        bottom: 0;
        left: 356px;
      }
      &:nth-child(21) {
        top: auto;
        bottom: 70px;
        left: 356px;
      }
      &:nth-child(22) {
        top: auto;
        bottom: 140px;
        left: 356px;
      }

      &:nth-child(23) {
        top: auto;
        bottom: 0;
        left: 407px;
      }
      &:nth-child(24) {
        top: auto;
        bottom: 70px;
        left: 407px;
      }
      &:nth-child(25) {
        top: auto;
        bottom: 140px;
        left: 407px;
      }

      &:nth-child(26) {
        top: auto;
        bottom: 0;
        left: 458px;
      }
      &:nth-child(27) {
        top: auto;
        bottom: 70px;
        left: 458px;
      }
      &:nth-child(28) {
        top: auto;
        bottom: 140px;
        left: 458px;
      }

      &:nth-child(29) {
        top: auto;
        bottom: 0;
        left: 509px;
        border-bottom: 1px solid #DDC09C;
      }
      &:nth-child(30) {
        top: auto;
        bottom: 70px;
        left: 509px;
      }
      &:nth-child(31) {
        top: auto;
        bottom: 140px;
        left: 509px;
        border-top: 1px solid #DDC09C;
        border-right: 1px solid #DDC09C;
      }

      &:nth-child(32) {
        top: auto;
        bottom: 0;
        left: 560px;
      }
      &:nth-child(33) {
        top: auto;
        bottom: 70px;
        left: 560px;
      }
      &:nth-child(34) {
        top: auto;
        bottom: 140px;
        left: 560px;
      }
      &:nth-child(35) {
        top: auto;
        bottom: 0;
        left: 611px;
      }
      &:nth-child(36) {
        top: auto;
        bottom: 70px;
        left: 611px;
      }
      &:nth-child(37) {
        top: auto;
        bottom: 140px;
        left: 611px;
      }
    }
  }
}

.dataArticle {
  position: relative;
  overflow: visible;
  section {
    span {
      width: 45px;
      height: 45px;
      line-height: 45px;
      text-align: center;
      background: #C63232;
      font-size: 24px;
      color: #EFEFEF;
      border-radius: 50%;
      display: inline-block;
    }
    &.dataBlack {
      span {
        background: #363333;
      }
    }
  }
  .chipDiv {
    width: 35px;
    position: absolute;
    bottom: -10px;
    right: 0;
    &.allIn {
      left: 50% !important;
      top: 50% !important;
      width: 50px !important;
      transform: translate(-50%, -50%);
    }
  }
}

.adventNumberT.classGro {
  width: 52px;
  height: 210px;
  position: absolute;
  top: 0;
  right: 6px;
  ul {
    position: relative;
    height: 210px;
    li {
      position: absolute;
      top: 0;
      left: 0;
      width: 52px;
      height: 70px;
      text-align: center;
      padding: 0;
      box-sizing: border-box;
      -webkit-box-sizing: border-box;
      &:first-child {
        width: 52px;
        height: 70px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        top: auto;
        bottom: 0;
        line-height: 0;
      }
      &:nth-child(2) {
        height: 71px;
        top: auto;
        bottom: 69px;
      }
      &:nth-child(3) {
        top: auto;
        bottom: 140px;
        border-top-right-radius: 15px;
      }
    }
  }
}

.dataArticle.clsArticle {
  padding: 7px 0;
  text-align: center;
  section {
    width: 40px;
    height: 56px;
    border: 1px solid #DDC09C;
    display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 0 7px;
    span {
      background: transparent;
      line-height: 26px;
      width: auto;
      font-size: 20px;
    }
  }
  .chipDiv {
    width: 35px;
    position: absolute;
    bottom: 10px;
    right: 0;
  }
}

.adventNumberT.groupForm {
  width: 612px;
  height: 70px;
  top: 209px;
  right: 57px;
  ul {
    position: relative;
    height: 70px;
    li {
      top: 0;
      left: 0;
      width: 204px;
      height: 70px;
      padding: 0;
      &:first-child {
        width: 204px;
        height: 70px;
        border-top-left-radius: 0;
        line-height: 0;
      }
      &:nth-child(2) {
        left: 204px;
      }
      &:nth-child(3) {
        left: 408px;
        border-bottom: 1px solid #DDC09C;
      }
    }
  }
}

.dataArticle.groupDataForm {
  padding: 15px 50px;
  section {
    border: 1px solid #DDC09C;
    height: 40px;
    line-height: 35px;
    span {
      background: transparent;
      font-size: 20px;
      line-height: 40px;
    }
  }
  .chipDiv {
    width: 35px;
    position: absolute;
    bottom: 3px;
    right: 0;
  }
}

.adventNumberT.touchOffCls {
  width: 612px;
  height: 70px;
  top: 278px;
  right: 57px;
  ul {
    position: relative;
    li {
      top: 0;
      left: 0;
      width: 102px;
      height: 70px;
      padding: 0;
      &:first-child {
        width: 102px;
        height: 70px;
        border-top-left-radius: 0;
        line-height: 0;
      }
      &:nth-child(2) {
        left: 102px;
      }
      &:nth-child(3) {
        left: 204px;
        border-bottom: 1px solid #DDC09C;
      }
      &:nth-child(4) {
        left: 306px;
        border-bottom: 1px solid #DDC09C;
      }
      &:nth-child(5) {
        left: 408px;
        border-bottom: 1px solid #DDC09C;
      }
      &:nth-child(6) {
        left: 510px;
        border-bottom: 1px solid #DDC09C;
      }
    }
  }
}

.dataArticle.touchDataOffCls {
  padding: 15px;
  section {
    border: 1px solid #DDC09C;
    height: 40px;
    line-height: 35px;
    span {
      background: transparent;
      font-size: 20px;
      line-height: 40px;
    }
  }
  .chipDiv {
    width: 35px;
    position: absolute;
    bottom: 3px;
    right: 0;
  }
}

.jettonAmount {
  width: 950px;
  height: 248px;
  margin: 100px auto;
  background: rgba(11, 2, 17, .5);
  border-radius: 13px;
}

/*筹码区*/
.betChipsBox {
  width: 100%;
  height: 100%;
  margin: 15px auto;
  //background: rgba(11, 2, 17, .5);
  border-radius: 13px;
  padding: 35px 0;
  text-align: center;
  .betChips {
    overflow: visible;
  }
  .chipItem {
    width: 7.1%;
    display: inline-block;
    margin: 0 3px;
    vertical-align: middle;
    transition: all 1s;
    &.chipOn {
      top: -10px;
    }
    img {
      width: 100%;
      height: auto;
      position: relative;
    }
  }
  .betMoney {
    display: inline-block;
    vertical-align: middle;
    background: url("../../../assets/images/theColor/adventures/betM_l.png") left center no-repeat, url("../../../assets/images/theColor/adventures/betM_r.png") right center no-repeat;
    background-size: auto 100%;
    padding: 0 14px 0 36px;
    margin-right: 6px;
    p {
      font-size: 14px;
      line-height: 43px;
      padding-left: 5px;
      color: #fff;
      background: url("../../../assets/images/theColor/adventures/betM_m.png") left center repeat;
      background-size: auto 100%;
      span {
        color: rgb(242, 217, 170);
      }
    }
    &.accountMoney {
      background: url("../../../assets/images/theColor/adventures/accM_l.png") left center no-repeat, url("../../../assets/images/theColor/adventures/accM_r.png") right center no-repeat;
      background-size: auto 100%;
      margin-right: 0;
      margin-left:6px;
      p {
        background: url("../../../assets/images/theColor/adventures/accM_m.png") left center repeat;
        background-size: auto 100%;
      }
    }
    .chipItem {
      height: 0;
      position: absolute;
    }
  }
  .funBtnBox {
    text-align: center;
    margin-top: 30px;
    height: 31%;
    .funBtnItem {
      vertical-align: middle;
      display: inline-block;
      border: 2px solid rgb(227, 214, 180);
      border-radius: 100px;
      height: 80%;
      width: 18%;
      font-size: 18px;
      color: #EFEFEF;
      letter-spacing: 1px;
      &.clearAll {
        background-image: linear-gradient(-179deg, #00A15F 0%, #007941 100%);
        box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.50), inset 0 1px 3px 0 #004223;
        text-shadow: 0 1px 2px #032516;
      }
      &.confirm {
        background-image: linear-gradient(-180deg, #DE3048 7%, #97000F 100%);
        box-shadow: 0 2px 4px 0 rgba(57, 46, 15, 0.69), inset 0 1px 5px 0 #992F31;
        text-shadow: 0 1px 2px #7C0816;
        margin: 0 8%;
        height: 100%;
        width: 26%;
      }
      &.allIn {
        background-image: linear-gradient(-180deg, #7E66C3 0%, #584393 100%);
        box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.50), inset 0 1px 4px 0 rgba(0, 0, 0, 0.50);
        text-shadow: 0 1px 2px #40268D;
        &.on {
          background-image: linear-gradient(-179deg, #4E3683 0%, #231236 100%);
          box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.50), inset 0 1px 4px 0 rgba(0, 0, 0, 0.50);
          border: 2px solid #FFDB58;
        }

      }
    }
  }
}
